﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Engine
{
    public class Manager : IDisposable
    {
        /// <summary>
        /// If it is enabled it will update, it won't if false.
        /// At Manager construction it starts at true.
        /// </summary>
        public bool Enabled { get; set; }

        public virtual void Update(GameTime gameTime)
        {
            
        }

        public Manager()
        {
            Enabled = true;
        }


        #region IDisposable Members

        public void Dispose()
        {
            Dispose(true);
        }

        protected virtual void Dispose(bool disposing)
        {
           
        }

        #endregion
    }
}
